﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json.Linq;

namespace WebApplication1
{
    public class Dic
    {

        public Dic(string json)
        {
            JObject jObject = JObject.Parse(json);
            Key = (string)jObject["key"];
            Value = (string)jObject["value"];
        }

        public string Key{ get; set; }
        public string Value { get; set; }
    }
}